<template>
	<view class="root pt-20">
		<view
			v-for="(result, index) in results"
			:key="index"
			:style="{ margin: `0 20rpx 20rpx`, padding: `25rpx` }"
			class="bgc-fff fs-30 br-20"
		>
			<label>
				<text :style="{ color: `#295eea` }">问：</text>
				<text class="color-333">{{ result.ma_note }}</text>
			</label>
			<view class="fs-28 fd-row mt-44">
				<text :style="{ color: `#4ed2fd` }">答：</text>
				<rich-text :nodes="result.ma_reply" />
			</view>
		</view>

		<text v-if="!results.length" class="text-center fs-28">暂无反馈结果</text>
	</view>
</template>

<script>
	export default {
		data: () => ({
			results: [],
		}),
		onLoad() {
			this.$request.get("/Home/info/lianxiusList").then((res) => {
				this.results = res.data;
			});
		},
	};
</script>

<style lang="scss" scoped>
	// scss
	@import "@/static/reset";
</style>